package com.thread.signal.second;

public class DrawTest3 {
    public static void main(String[] args) {
        Account3 acc = new Account3("1234567", 0);
        // 模拟两个线程对同一个账户取钱
        new DrawThread3("取钱者", acc,800).start();
        new DepositThread3("存款者甲", acc,800).start();
        new DepositThread3("存款者乙", acc,800).start();
        new DepositThread3("存款者丙", acc,800).start();
    }
}
